import { Row } from "antd";
import Props from "../base/Props";
import defaultData from "./data";
import { WeaInput, WeaLocaleProvider } from "ecCom";
import React from "react";
const getLabel = WeaLocaleProvider.getLabel;

export default class FBFooterProps extends Props {
  render() {
    const { btnText } = this.props.data;

    return (
        <div>
          <Row ecId={`${this && this.props && this.props.ecId || ''}_Row@88h517`}>
            <label>{getLabel('502503','按钮名称')}</label>
            <WeaInput ecId={`${this && this.props && this.props.ecId || ''}_WeaInput@ntfviu`} 
              inputType={'multilang'}
              value={btnText}
              onChange={this.handlePropChange('btnText')} 
            />
          </Row>
        </div>
    );
  }
}

FBFooterProps.defaultProps = {
  data: defaultData
};